<template>
	<view class="">
		<roc-text :content="agreeementText"></roc-text>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				agreeementText:""
			}
		},
		onLoad() {
			this.getAgremment()
		},
		methods:{
			getAgremment(){
				var that = this
				this.request.httpTokenRequest({
					url:"index/policy",
					methods:"get"
				},{
					type:'check_in_notice'
				}).then(function(data){
					that.agreeementText = data.data.content
				})
			}
		}
	}
</script>

<style lang="scss">
</style>